<template>
	<view>
		<web-view :src="src" @load="bindload" @error="binderror">
		</web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			}
		},
		onLoad(options) {
			this.src = 'https://psq.yoojet.com/#/PublicAccount/HistoricalRecord?phone=' + options.phone
		},
		methods: {
			bindload(res) {
				console.log(res)
			},
			binderror(res) {
				console.log(res)
			}
		}
	}
</script>

<style>

</style>
